Generating space models from map files

ABSTRACT

A map file includes two-dimensional or three-dimensional geometric data items collectively representing layout of a building. The map file and parsed and the geometric data items analyzed to identify building elements including rooms, floors, and objects of the building, and to identify containment relationships between the elements. A space model having a space graph is constructed. The space graph includes nodes that correspond to the respective building elements and links forming relationships between nodes that correspond to the identified containment relationships. Each node may include node metadata, rules or code that operate on the metadata, and a node type that corresponds to a type of physical space. Some nodes may include user representations or device representations that represent physical sensors associated therewith. The representations may receive data from the respectively represented sensors, and the sensor data becomes available via the space model.

CROSS-REFERENCE TO RELATED APPLICATIONS

The present application is a Continuation of and claims benefit ofpriority to U.S. patent application Ser. No. 16/224,574, filed Dec. 18,2018, entitled “GENERATING SPACE MODELS FROM MAP FILES” which isspecifically incorporated by reference for all that it discloses andteaches.

BACKGROUND

Recent advances in cloud technology and Internet of Things (IoT)hardware and software has made it inexpensive and convenient to putsensors in physical spaces and then collect information about thephysical spaces. To provide information to a facility manager, sensorssuch as thermostats, lighting controls, motion sensors, etc. may beplaced in a building's rooms and furniture. The facility manager maywish to see what rooms have what resources or see statistics about howthe rooms or resources are being used. For large facilities with manysensors, this can be difficult. Furthermore, it can be difficult tomeaningfully aggregate, synthesize, and analyze the information from themany sensors in a physical space such as a building. Consequently, aneed has arisen for tools to model physical spaces and the devices andpeople within them. The information provided by a schematic or graphmodel of a space can allow new kinds of insights into the effectivenessof equipment, utilization of spaces, costs, efficiency, etc.

Cloud providers have developed complex space modeling tools for cloudtenants to use to schematically model physical spaces, people, devices,and their relationships. See, for instance, Azure Digital Twins™available from Microsoft Corporation. A tenant may author a space modelthat models a physical space. The space model then facilitatesintegration of IoT devices with a cloud and synthesis of IoT sensordata. The space model may be executed and managed by the cloud and mayhave interfaces or facilities for communicating with IoT devices. Thespace model may model the locations of IoT devices within thecorresponding physical space.

Space modeling techniques have been helpful for managing and organizinginformation about a physical space, synthesizing metadata about aphysical space, providing the information about a physical space toother systems, etc. However, space models have been difficult toconstruct. Because a space model models logical relationships (e.g.,containment) between elements and contents of a physical space orbuilding, construction of the space model is challenging. Typically, auser will refer to a map of a physical space and attempt to visuallydiscern the elements and relationships of the physical space. Dependingon the type of map, this can be particularly difficult. If the map is acomputer-assisted drawing (CAD) file, the map may have significantcomplexity and layers of information that are difficult to navigate andinterpret. Just identifying the elements of a space, e.g., rooms andequipment, can be challenging. When an element such as a building floorhas been identified, it may difficult to discern properties of thatelement. For example, it may not be easy to identify the name or type ofan element (e.g., a room). In short, creating a space model has been atime-consuming and error-prone process.

Techniques related to constructing space models from map files and otherinformation are discussed below.

SUMMARY

The following summary is included only to introduce some conceptsdiscussed in the Detailed Description below. This summary is notcomprehensive and is not intended to delineate the scope of the claimedsubject matter, which is set forth by the claims presented at the end.

A map file includes two-dimensional or three-dimensional geometric dataitems collectively representing layout of a building. The map file andparsed and the geometric data items analyzed to identify buildingelements including rooms, floors, and objects of the building, and toidentify containment relationships between the elements. A space modelhaving a space graph is constructed. The space graph includes nodes thatcorrespond to the respective building elements and links formingrelationships between nodes that correspond to the identifiedcontainment relationships. Each node may include node metadata, rules orcode that operate on the metadata, and a node type that corresponds to atype of physical space. Some nodes may include user representations ordevice representations that represent physical sensors associatedtherewith. The representations may receive data from the respectivelyrepresented sensors, and the sensor data becomes available via the spacemodel.

Many of the attendant features will be explained below with reference tothe following detailed description considered in connection with theaccompanying drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

The present description will be better understood from the followingdetailed description read in light of the accompanying drawings, whereinlike reference numerals are used to designate like parts in theaccompanying description.

FIG. 1 shows a map-to-model service producing a space model from a mapfile.

FIG. 2 shows an overview of components of a space model.

FIG. 3 shows details of a space hierarchy.

FIG. 4 shows details of space nodes in a space hierarchy.

FIG. 5 shows the metadata service providing data about a space model toclients or devices.

FIG. 6 shows an example of a compute cloud.

FIG. 7 shows the map-to-model service in the context of a cloud.

FIG. 8 shows a process for generating a new space model from a map file.

FIG. 9 shows an example of a space model auto-generated from a map file.

FIG. 10 shows details of a computing device on which embodimentsdescribed herein may be implemented.

DETAILED DESCRIPTION

FIG. 1 shows a map-to-model service 100 producing a space model 102 froma map file 104. The space model 102 models a physical space 105 that isequipped with physical sensors 106 and which contains users. Thephysical sensors 106 measure aspects of their respective local physicalspaces such as temperature, motion detection, sensed sound, light, etc.The sensors pass their measurements to the space model 102 via acommunication pathway which may involve a local IoT device such as a hubor edge device, which in turn passes measurements to a cloud which thenprovides the measurements to the space model 102. Details of thesecomponents are described below.

FIG. 2 shows an overview of components of a space model 102. The spacemodel 102 may be provided by a cloud service, as discussed furtherbelow. Users or tenants generate the space model 102 using themap-to-model service 100 and revise or edit the space model 102 asneeded. The space model 102 is then stored and implemented by the cloud.

A salient feature of the space model 102 is the space hierarchy 120. Thespace hierarchy 120 is a tree or graph that models the relationshipsbetween space elements such as buildings, floors, and rooms, forexample. The space hierarchy 120 reflects the relationships betweenplace/location elements, but without concern for two-dimensional orthree-dimensional locations. In short, the space hierarchy 120 is arelationship graph, not a spatial map. The space hierarchy 120 isdescribed in detail with reference to FIG. 3.

The space model 102 also includes sensor interfaces 122. A sensorinterface 122 is generated for each physical sensor 106. The sensorinterfaces 122 mirror state of the respective sensors, store andpossibly translate measures from the sensors, and provide the sensorstate and readings to the space hierarchy 120. The sensor interfaces 122may be associated with or contained by elements or nodes of the spacehierarchy 120, thus locating them within the hierarchy. When a sensor106 is added to the space model 102, a corresponding sensor interface122 (or digital representation) is added to an element in the spacehierarchy 120. In short, each interface 122 takes in measures or inputsfrom a corresponding sensor and introduces the measures or inputs to thespace hierarchy 120, preferably in association with a particular node inthe space hierarchy 120 that corresponds to an intended relationallocation of the sensor.

The space model 102 further includes user code 124 (or rules). The usercode 124 specifies behaviors or actions taken based on state of thespace hierarchy 120. A rule or piece of code is inputted by a user inassociation with a user-specified element of the space hierarchy. Thecode may be triggered by updates to the relevant hierarchy element orsubtrees or elements contained by the element, or the code may monitorthe state of its element. In either case, the code evaluates the stateof its element and depending thereon may take some action such asgenerating an event, updating state of the space hierarchy 120,communicating with the cloud, and so forth.

Finally, the space model 102 includes a metadata service 126. Themetadata service 126 provides metadata of the space hierarchy 120 to anyclient or metadata consumer 128. The metadata service 126 may implementa publish/subscribe model, and/or a query service. In thepublish/subscribe case, a consumer 128 subscribes to the space hierarchy120 or elements thereof, possibly with a filter or other means tospecify particular parts of the space hierarchy 120. In the query case,a consumer 128 submits metadata queries to the metadata service 126,which searches the space hierarchy 120 for the metadata described in thequery and returns the metadata to the consumer 128.

FIG. 3 shows details of a space hierarchy 120. As noted above, the spacehierarchy is a data structure that models the containment relationshipsof places or structures, where nodes 140 represent the places orstructures. Techniques for implementing a tree or graph data structureare well known and described elsewhere. Nodes 140 may be set to havetypes predefined in a template database 142 provided by the cloudservice, for instance a street block or campus, building, floor, room,etc. The template database may also include preconfigured spacehierarchies, for instance basic building templates. Each type of nodemay have metadata fields common to all nodes as well as metadata fieldsspecific to the type of node. Furthermore, some nodes may have metadatafields whose values depend on the values of the same metadata fields ofchild nodes. For example, if several leaf nodes (e.g., rooms) arecontained by a same parent node (e.g., a floor), the parent node mayhave a temperature metadata value that is an aggregation of its childnodes (or subtrees, as the case may be). In other words, some metadatavalues for nodes may be a statistical synthesis or sum of the values inthe nodes it contains.

Some sensors linked to the space hierarchy 120 may be interactive, i.e.,activatable by a user. Such input may set a value of a metadata field ina space node through a corresponding sensor interface attached to thecorresponding space node. The input from the sensor may influence thestate of the space hierarchy, which in turn may trigger events to beoutputted by the metadata service or certain values to be returned byqueries to the metadata service.

Although not shown in FIG. 3, a space model may also have objects torepresent persons/users or other things within the physical space. Auser object may have identity information, credentials, and a role, allof which can be used to perform authentication and control access tonodes or other elements of the space model 120.

FIG. 4 shows details of space nodes 140 in a space hierarchy 120. Asnoted above, each node may have node metadata 160, which may includeuser-defined fields and predefined fields per the typing of a node. Somemetadata fields may be populated by or linked to device or sensorinterfaces 122. As also noted above, a node may contain user-authoredcode or rules keyed to the metadata of the hosting node (and/or othernodes). The code or rule may specify conditions of metadata parametersand actions to be taken, such as modifying a metadata field, generatingan event, communicating with a cloud service, and the like. The nodesmay also have modules for role-based access control 162. For instance,access control lists may be used to determine who is allowed to read ormodify metadata or load code into a node for execution. The accesscontrol mechanism may also be used to control who can add a devicerepresentation (sensor interface), what types of interfaces can beadded, etc.

As discussed above, a node's metadata may have an aggregated metadata164 value (perhaps implicit) that is a product of the same metadatafield instances in the contained nodes. The aggregated metadata 164 mayalso have aggregation rules to define how values below are aggregated.For example, if there is a Boolean metadata field (e.g., “occupied” or“person present”), a value of “true” or “false” is straightforward forleaf nodes. Parent nodes containing nodes with such fields may need arule to determine how the metadata field is to be determined. Referringto the “occupied” example, a container node may set its “occupied” fieldto “true” if a certain number of the fields in its child nodes are true.Similarly, for temperature, a “floor” node might set its “temperature”field to an average of the temperatures of its child nodes.

FIG. 5 shows the metadata service 126 providing data about the spacemodel 120 to clients or devices communicating with the metadata service126. In a query-based embodiment, the metadata service 126 includes aquery service 180. The query service 180 receives metadata queries 182specifying combinations of parameters such as a particular node (place),a type of node, a represented sensor or device, a type of metadata,and/or a node having a specified feature or containing a specified item,etc. The query service 180 parses through the space model 120 to findthe specified metadata, and a corresponding result 184 is returned tothe requestor (e.g., a mixed reality system). In a publish/subscribemodel, a subscriber (e.g., a mixed reality system) submits asubscription request specifying events desired to be received. Therequest may include parameters similar to those of a query, but tofilter which events are received. Consequently, the subscriber receivesan event when code running in the space model generates an event and theevent meets the subscriber's requirements. Queries and event filters mayspecify, for example, whichever node contains a particular mobile objector user.

FIG. 6 shows an example of a compute cloud 200 communicating with anedge device 202 via a network 204. The compute cloud 200 may include avariety of components communicating on an internal network of the cloud200. To that end, the cloud 200 may implement a variety ofarchitectures, including Infrastructure as a Service (IaaS), Platform asa Service (PaaS), serverless computing, Software as a Service (Saas), orcombinations thereof. Examples of common clouds are Microsoft Azure™,Amazon Web Services™, Google Cloud™, to name a few. Regardless of itssoftware architecture and how it is presented to users, the cloud 200will include a variety of hardware assets such as datacenters withservers, networking devices interconnecting servers (many havingvirtualization stacks for executing VMs) and datacenters, storagesystems, VM management tools, and so forth.

The cloud 200 may include a portal 206 or web/console frontend throughwhich tenants or users of the cloud 200 may be presented with agraphical user interface for reserving or purchasing cloud resources,uploading or configuring workloads to execute on the cloud 200,subscribing to and accessing cloud services 208, working with telemetrydata, registering and provisioning devices such as the edge device 202,accessing user interfaces for respective cloud services 208, and otherknown functions. Cloud services 208 may have application programminginterfaces (APIs) invocable from within the cloud 200 as well as byexternal devices such as the edge device 202. The APIs may be specificto the particular cloud 200 but are implemented with knownapplication-layer protocols such as the hypertext transport protocol(HTTP, perhaps with a RESTful architecture). The various services forspace modeling and generating models from maps described herein may beimplemented as cloud services 208.

The cloud 200 may include a fabric 120 for managing the cloud, enablingcomponents or services 200 to cooperate, managing and allocatingresources, etc. The services 208 may include a database service, anabstract/blob data storage service, machine learning services,search/indexing services, identity management services, IoT services,backup services, networking services, web services, and/or others.

FIG. 7 shows the map-to-model service 100 in the context of a cloud 200.As noted, a space model service 218 and a map-to-model service 100 maybe implemented as services in the cloud 200. The space model service 218may manage space models for many respective cloud tenants. To begin theprocess of auto-generating a space model, a tenant device 220 submitsthe map file 104 to the map-to-model service 100. The map file may beimported to the cloud or obtained from a cloud storage service. Themap-to-model service 100 then generates a new space model 102 from themap file 104. The map-to-model service 100 need not be a cloud service.An application or script on single user device can perform the samefunction, perhaps invoking PaaS APIs of the space model service 218 toinstantiate the necessary objects.

As noted above, although not required, the map file 104 preferably is anon-raster format with discrete geometric constructs such as points,lines, polygons, splines, etc., with coordinates placing and orientingsuch constructs relative to each other in a two- or three-dimensionalspace. In one embodiment the map file 104 is a mesh model of a buildingor other space. In other embodiments, the map file 104 is a CAD file, anSVG file, a geoJSON (geospatial Javascript Object Notation) file, or thelike. The geometric/spatial information in the map file 104 may betwo-dimensional or three-dimensional. As described below, themap-to-model service 100 parses the map file and applies algorithms andheuristics to identify space elements such as buildings, floors, rooms,hallways, etc., as well as relationships between them. This informationis then used to construct a new space model 102 with a space hierarchythat mirrors the information in the map file 104.

FIG. 8 shows a process for generating a new space model 102 from a mapfile 104. The process may be performed by the map-to-model service 100and/or the space model service 218. Optionally, a raster image 240 isreceived at step 242. The raster image 240 consists of image data thatdescribes the colors of individual pixels. At step 244 the raster image242 is analyzed to produce the non-raster map file 104. Step 244 mayinvolve known image analysis operations such as recognizing lines,edges, points, polygons, objects, and so forth. An optical characterrecognition (OCR) algorithm may also be applied to recognize text in theraster image 240.

As noted above, the map file 104 may be provided by a tenant as originaldata without the use of a raster image 240 (although the map file may bereferred to herein as a non-raster file, it many nonetheless containraster image data pieces associated with respective geometric elementsof the map file). Regardless of the source of the map file 104, at step246 the geometric-spatial data in the map file is analyzed to identifyspace elements, containment relationships, objects, metadata, and soforth. The map file may have a mix of geometric cues (corners, shape ofobject, etc.) that can inform how to map to a graph. Computer visionalgorithms can be used to identify shapes and containment relationshipsbetween shapes. Machine learning algorithms can take in map files andrespective finalized space models to learn and improve the map-to-modelconversion process. Space elements that can be identified may includeelements other than geometric features such as rooms and floors.Identified space elements may be devices, building fixtures, furniture,and the like.

At step 248 external metadata 249 may be queried or incorporated.External metadata may come from other cloud services, other files suchas spreadsheets or text documents, databases of building information,and other sources associated with the map file or its contents. Queriesof the external metadata may be formulated based on content of the mapfile. For example, if the map file includes a label “room 33” inassociation with a polygon, an external source can be queried forinformation about room 33. This information can in turn help decide thespace/node type of the corresponding space node being added to the spacemodel (e.g., media room, teleconference room). Such metadata within themap file 104 may be used in a similar fashion. Inferential heuristicscan also be applied to the available metadata to derive and assignmetadata to the nodes of the space hierarchy and can inform containmentdecisions.

Finally, at step 250, the new space model 102 is constructed based onthe map file, metadata, and analysis of same. Specifically, new nodesare instantiated as per the space elements identified in the map file,and the nodes are formed into a graph per the containment relationsderived at step 246. Some nodes may be generated based not on acorresponding geometric portion of the map file, but rather based oninformation about the space. For example, if a floor is found but nobuilding, a building node may nonetheless be added to contain therelevant floor node. Nodes may also be inferred from the presence ofobjects such as devices or fixtures. If a floor is discerned in a mapfile and a commode is found in the map of the floor, then a bathroomroom node may be inferred and added as a child node of the floor node(and containing the object that prompted its insertion). As noted above,space nodes may be instantiated for objects discerned from the map fileand/or relevant metadata, e.g., fixtures, devices, furniture, etc. Suchspace nodes will often be represented by leaf nodes in the space model'sgraph.

Nodes may be typed and filled with node metadata and devicerepresentations as discussed above. Note that containment relationshipscan also inform node typing decisions; certain types of parent nodeswill be expected to have only certain types of child nodes (e.g., afloor may contain a room but not a building). Typing can be performed byweighting and combining multiple such clues to find the most probabletype. It is also possible to insert predefined user roles and user code,depending on the type of space (e.g., a type of building) or node. Partsof a map file or raster file may also be added to nodes. For instance,if the map file is a CAD file that contains a three-dimensional model ofa device in a room, the model may be added to the node that representsthe room.

The steps in FIG. 8 may optionally be implemented in conjunction with awizard-like user interface that walks a user through the process. Forexample, there may be prompts for the locations of map/raster files andmetadata sources, information about the new space model (e.g., what kindof space is being modeled), and so forth. At the end of step 250 theuser may be guided into a user interface for editing space models, thusallowing correction of errors that occur during the conversion process.

To facilitate conversion of many types of map files, the process mayinclude a converter that converts different types of map files to asingle type of map file (e.g., geoJSON). This allows the same analysisand conversion algorithm to be applied to different types of map files.

FIG. 9 shows an example of a space model 102 auto-generated from a mapfile 104. The map file 104 contains scalable two- or three-dimensionalgeometric data or constructs as discussed above. In this example, themap file includes building geometry 260, floor geometry 262, roomgeometry 264, 265, and indicia of devices 266 or other objects such asfixtures, furniture, etc. The map file may also include embeddedmetadata 268, which can be any information (e.g., plain or encoded textinformation) related to the content of the map file. The embeddedmetadata can be used as discussed above, and may include file metadata,information about the map file but not necessarily its map content(e.g., a title, keyword list, a name of an asset that the mapcorresponds to, links to related map files, etc.), user identitiesassociated with the map file (which can be used for generating initialaccess control lists for the space model), metadata associated withgeometric objects in the map file, etc.

The map file 104 is passed through the analysis and conversion process.The embedded metadata 268 and geometric constructs are parsed and loadedinto memory. The geometric properties and cues of the geometry data areanalyzed to identify spaces and containment relationships. The geometryas well as internal and external metadata are heuristically analyzed toinfer the structure and content of the new space model 102. Based on themap file 104, the new space model's space graph includes a building node270 to represent the building geometry 260, a floor node 272 torepresent the floor geometry 262, room nodes 274 to represent the roomgeometry 264, a room node 275 to represent a room containing other rooms(and node links to reflect the relationships), and a devicerepresentation 276 to represent the indicated devices 266. The nodes maybe typed and populated with node metadata. The nodes are linked toreflect the identified relationships among the relevant geometricobjects in the map file. The new space model 102 may be instantiated asan object managed by the cloud's space model service 218, thus becomingavailable for receiving data from physical sensors, answering queries bythe metadata service, providing analytics and statistics about themodeled space, and so forth.

FIG. 10 shows details of a computing device 300 on which embodimentsdescribed above may be implemented. Cloud servers, edge devices, leafdevices, and other devices discussed or implied above may more or lessmirror the computing device 300. The technical disclosures herein willsuffice for programmers to write software, and/or configurereconfigurable processing hardware (e.g., field-programmable gate arrays(FPGAs)), and/or design application-specific integrated circuits(ASICs), etc., to run on the computing device or host 300 (possibly viacloud APIs) to implement the embodiments described herein.

The computing device or host 300 may have one or more displays 322, anetwork interface 324 (or several), as well as storage hardware 326 andprocessing hardware 328, which may be a combination of any one or moreof: central processing units, graphics processing units,analog-to-digital converters, bus chips, FPGAs, ASICs,Application-specific Standard Products (ASSPs), or Complex ProgrammableLogic Devices (CPLDs), etc. The storage hardware 326 may be anycombination of magnetic storage, static memory, volatile memory,non-volatile memory, optically or magnetically readable matter, etc. Themeaning of the term “storage”, as used herein does not refer to signalsor energy per se, but rather refers to physical apparatuses and statesof matter. The hardware elements of the computing device or host 300 maycooperate in ways well understood in the art of machine computing. Inaddition, input devices may be integrated with or in communication withthe computing device or host 300. The computing device or host 300 mayhave any form-factor or may be used in any type of encompassing device.The computing device or host 300 may be in the form of a handheld devicesuch as a smartphone, a tablet computer, a gaming device, a server, arack-mounted or backplaned computer-on-a-board, a system-on-a-chip, orothers.

Embodiments and features discussed above can be realized in the form ofinformation stored in volatile or non-volatile computer or devicereadable storage hardware. This is deemed to include at least hardwaresuch as optical storage (e.g., compact-disk read-only memory (CD-ROM)),magnetic media, flash read-only memory (ROM), or any means of storingdigital information in to be readily available for the processinghardware 328. The stored information can be in the form of machineexecutable instructions (e.g., compiled executable binary code), sourcecode, bytecode, or any other information that can be used to enable orconfigure computing devices to perform the various embodiments discussedabove. This is also considered to include at least volatile memory suchas random-access memory (RAM) and/or virtual memory storing informationsuch as central processing unit (CPU) instructions during execution of aprogram carrying out an embodiment, as well as non-volatile mediastoring information that allows a program or executable to be loaded andexecuted. The embodiments and features can be performed on any type ofcomputing device, including portable devices, workstations, servers,mobile wireless devices, and so on.

CONCLUSION

Embodiments and features discussed above can be realized in the form ofinformation stored in volatile or non-volatile computer or devicereadable media. This is deemed to include at least media such as opticalstorage (e.g., compact-disk read-only memory (CD-ROM)), magnetic media,flash read-only memory (ROM), or any current or future means of storingdigital information. The stored information can be in the form ofmachine executable instructions (e.g., compiled executable binary code),source code, bytecode, or any other information that can be used toenable or configure computing devices to perform the various embodimentsdiscussed above. This is also deemed to include at least volatile memorysuch as random-access memory (RAM) and/or virtual memory storinginformation such as central processing unit (CPU) instructions duringexecution of a program carrying out an embodiment, as well asnon-volatile media storing information that allows a program orexecutable to be loaded and executed. The embodiments and features canbe performed on any type of computing device, including portabledevices, workstations, servers, mobile wireless devices, and so on.

1. One or more memory devices encoding computer-executable instructionsfor executing a computer process, the computer process comprising:receiving from a tenant device of a space modeling service, a map filecomprising two-dimensional or three-dimensional non-raster geometricconstructs corresponding to a geometric arrangement of structuralbuilding elements including rooms and floors; mapping each of aplurality of the geometric constructs in the map file to a correspondingone of a plurality of structural building elements of predefined types,the predefined types including rooms and floors; identifying geometriccontainment relationships existing between the geometric constructs inthe map file, each geometric containment relationship representing ageometric containment of one of the geometric constructs within anotherone of geometric constructs; identifying containment relationshipsexisting between the structural building elements that each correspondto one of the identified geometric containment relationships between thegeometric constructs; instantiating nodes of a new space model, theinstantiated nodes being of the predefined types of structural buildingelements; forming parent-child links between pairs of the instantiatednodes in the new space model, each of the parent-child linkscorresponding to one of the identified containment relationships betweenthe structural building elements; and making the new space modelavailable to the tenant from a cloud-based platform.
 2. The one or morememory devices of claim 1, wherein the computer process furthercomprises: generating a user interface that displays a rendering of themap file including the instantiated nodes in the new space model.
 3. Theone or more memory devices of claim 1, wherein at least some of thenodes of the new space model comprise device representations thatrepresent sensors, the device representations configured to receivesensor measures from physical sensors in a building corresponding to thenew space model.
 4. The one or more memory devices of claim 3, whereinthe space modeling service includes a user interface that allows a userto manually add the device representations to the new space model. 5.The one or more memory devices of claim 1, wherein the computer processfurther comprises: receiving a raster image from the tenant device; andperforming image processing on the raster image to produce the map file.6. The one or more memory devices of claim 1, wherein the computerprocess further comprises: utilizing metadata obtained based on the mapfile to select the predefined types of structural building elements tomap to the geometric constructs in the map file.
 7. The one or morememory devices of claim 1, wherein the computer process furthercomprises: accessing building metadata that is associated with the mapfile; and populating the nodes of the new space model with buildingmetadata associated with the map file.
 8. The one or more memory devicesof claim 1, wherein identifying the geometric containment relationshipsexisting between the structural building elements further comprises:identifying the geometric containment relationships existing between thestructural building elements based on building metadata associated withthe map file.
 9. A computing system comprising: memory; a space modelingservice stored in the memory and configured to: receive, from a tenantdevice of the space modeling service, a map file comprisingtwo-dimensional or three-dimensional non-raster geometric constructscorresponding to a geometric arrangement of structural building elementsincluding rooms and floors; map each of a plurality of the geometricconstructs in the map file to a corresponding one of a plurality ofstructural building elements of predefined types, the predefined typesincluding rooms and floors; identify geometric containment relationshipsexisting between the geometric constructs in the map file; identifycontainment relationships between the structural building elements thatcorrespond to the identified geometric containment relationships betweenthe geometric constructs; instantiate nodes of a new space model, theinstantiated nodes being of the predefined types of structural buildingelements; form parent-child links between pairs of the instantiatednodes of each of the parent-child links, each of the parent-child linkscorresponding to one of the identified containment relationships betweenthe structural building elements; and making the new space modelavailable to the tenant from a cloud-based platform.
 10. The computingsystem of claim 9, wherein the space modeling service is furtherconfigured to provide a user interface comprised of a rendering of themap file, the rendering including graphics displayed according to linksto nodes in the new space model.
 11. The computing system of claim 9,wherein at least some of the nodes of the new space model comprisedevice representations that represent sensors, the devicerepresentations configured to receive sensor measures from physicalsensors in a building corresponding to the new space model.
 12. Thecomputing system of claim 11, wherein the space modeling serviceincludes a user interface that allows a user to manually add the devicerepresentations to the new space model.
 13. The computing system ofclaim 9, wherein the space modeling service receives a raster image fromthe tenant device and performs image processing on the raster image toproduce the map file.
 14. The computing system of claim 9, wherein thespace modeling service is further configured to utilize metadataobtained based on the map file to select the predefined types ofstructural building elements mapped to the geometric constructs in themap file.
 15. A method comprising: receiving, via a network, from atenant device of a space modeling service, a map file comprisingtwo-dimensional or three-dimensional non-raster geometric constructscorresponding to a geometric arrangement of structural building elementsincluding rooms and floors; mapping each of a plurality of the geometricconstructs in the map file to a corresponding one of a plurality ofstructural building elements of predefined types, the predefined typesincluding rooms and floors; identifying geometric containmentrelationships existing between the geometric constructs in the map file;identifying containment relationships between the structural buildingelements that correspond to the identified geometric containmentrelationships between the geometric constructs; instantiating a newspace model, the new space model including nodes of the predefined typesand parent-child links between pairs of the nodes, each of theparent-child links corresponding to one of the identified containmentrelationships between the structural building elements; and making thenew space model available to the tenant from a cloud-based platform. 16.The method of claim 15, further comprising: accessing, by the one ormore processors accessing the space-modeling service, building metadatathat is associated with the map file; and populating the nodes of thenew space model with building metadata associated with the map file. 17.The method of claim 16, wherein identifying the containmentrelationships between the structural building elements furthercomprises: identifying the containment relationships between thestructural building elements based at least in part on the buildingmetadata associated with the map file.
 18. The method according to claim16, wherein the containment relationships are inferred at least in parton the building metadata associated with the map file.
 19. The method ofclaim 15, further comprising: identifying geometric constructs in themap file that correspond to devices or fixtures; and adding nodes to thenew space model representing the devices or fixtures, the added nodeseach linking to a corresponding node representing a building elementthat contains the devices or fixtures.
 20. The method of claim 15,wherein at least some of the nodes of the new space model include devicerepresentations that represent sensors, the device representationsconfigured to receive sensor measurements from physical sensors in abuilding corresponding to the new space model.